package org.nepu.sc.task.params;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "更新参数")
public class SafeTaskUpdateParams {
    @NotBlank(message = "任务ID不可为空")
    @ApiModelProperty(value = "任务ID")
    String taskId;

    @NotBlank(message = "任务名字不可为空")
    @ApiModelProperty(value = "任务名字")
    String taskName;

}
